﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Common.AutoMapper
{
    //用于双向绑定
    //继承的对象仅能应用于类,不允许多映射,不允许继承映射关系
    [AttributeUsage(AttributeTargets.Class,AllowMultiple =false,Inherited =false)]
    public class AutoMapAttribute:Attribute
    {
        public Type SourceType;
        public Type TargetType;
    }
}
